﻿using MediatR;
using T.Materials.Domain.Dto;
using T.Materials.Domain.Model;
using static T.Materials.Domain.Enum.Enums;

namespace T.Materials.Read.API.ApplicationRead.Command.ExamineAndApproveCommand
{
    /// <summary>
    /// 领用领用单审批命令
    /// </summary>
    public class MaterialRequisitionApproveCommand : IRequest<ListMaterialRequisitionDto<MaterialRequisition>>
    {
        /// <summary>
        /// 领用人
        /// </summary>
        public string? Recipient { get; set; }

        /// <summary>
        /// 领用日期
        /// </summary>
        public DateTime? CollectionDate { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public ApprovalStatus? ApprovalStatus { get; set; }

        /// <summary>
        /// 审批人
        /// </summary>
        public string? Approver { get; set; }

        /// <summary>
        /// 当前页
        /// </summary>
        public int? pageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int? pageSize { get; set; }
    }
}
